package com.gccloud.design.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.gccloud.design.dto.SdFormDefineDto;
import com.gccloud.design.entity.SdFormDefineEntity;
import com.gccloud.design.vo.SdFormDefineVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author wu.yumin
 * @version 1.0.0
 * @Description 表单定义
 * @date 2021/6/16 19:39
 */
@Mapper
public interface SdFormDefineDao extends BaseMapper<SdFormDefineEntity> {

    /**
     * 分页查询
     *
     * @param dto 查询DTO
     * @return 列表
     */
    List<SdFormDefineVo> getFormListByPage(@Param("dto") SdFormDefineDto dto, Page<SdFormDefineVo> page);

}
